package com.villaday.idf.model3;

import java.util.List;

public class Find_hotel_configurationsEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"categories":[{"name":"别墅","query":"house_type=0","tips":""},{"name":"民宿","query":"house_type=1","tips":""},{"name":"酒店","query":"house_type=5","tips":""}],"filters":{"prices":[{"id":"0","name":"0"},{"id":"150","name":"150"},{"id":"300","name":"300"},{"id":"450","name":"450"},{"id":"600","name":"600"},{"id":"750","name":"750"},{"id":"1000","name":"1000"},{"id":"-1","name":"不限"}],"levels":[{"id":"2","name":"经济型"},{"id":"3","name":"舒适型"},{"id":"4","name":"高端型"},{"id":"5","name":"豪华型"}]},"sorts":[{"id":"","name":"默认排序"},{"id":"price_asc","name":"价格最低"},{"id":"price_desc","name":"价格最高"}],"tags":[]}
     */

    private String code;
    private String status;
    private String msg;
    private BodyEntity body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyEntity getBody() {
        return body;
    }

    public void setBody(BodyEntity body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * categories : [{"name":"别墅","query":"house_type=0","tips":""},{"name":"民宿","query":"house_type=1","tips":""},{"name":"酒店","query":"house_type=5","tips":""}]
         * filters : {"prices":[{"id":"0","name":"0"},{"id":"150","name":"150"},{"id":"300","name":"300"},{"id":"450","name":"450"},{"id":"600","name":"600"},{"id":"750","name":"750"},{"id":"1000","name":"1000"},{"id":"-1","name":"不限"}],"levels":[{"id":"2","name":"经济型"},{"id":"3","name":"舒适型"},{"id":"4","name":"高端型"},{"id":"5","name":"豪华型"}]}
         * sorts : [{"id":"","name":"默认排序"},{"id":"price_asc","name":"价格最低"},{"id":"price_desc","name":"价格最高"}]
         * tags : []
         */

        private FiltersEntity filters;
        private List<CategoriesEntity> categories;
        private List<SortsEntity> sorts;
        private List<?> tags;

        public FiltersEntity getFilters() {
            return filters;
        }

        public void setFilters(FiltersEntity filters) {
            this.filters = filters;
        }

        public List<CategoriesEntity> getCategories() {
            return categories;
        }

        public void setCategories(List<CategoriesEntity> categories) {
            this.categories = categories;
        }

        public List<SortsEntity> getSorts() {
            return sorts;
        }

        public void setSorts(List<SortsEntity> sorts) {
            this.sorts = sorts;
        }

        public List<?> getTags() {
            return tags;
        }

        public void setTags(List<?> tags) {
            this.tags = tags;
        }

        public static class FiltersEntity {
            private List<PricesEntity> prices;
            private List<LevelsEntity> levels;

            public List<PricesEntity> getPrices() {
                return prices;
            }

            public void setPrices(List<PricesEntity> prices) {
                this.prices = prices;
            }

            public List<LevelsEntity> getLevels() {
                return levels;
            }

            public void setLevels(List<LevelsEntity> levels) {
                this.levels = levels;
            }

            public static class PricesEntity {
                /**
                 * id : 0
                 * name : 0
                 */

                private String id;
                private String name;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }

            public static class LevelsEntity {
                /**
                 * id : 2
                 * name : 经济型
                 */

                private String id;
                private String name;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }
        }

        public static class CategoriesEntity {
            /**
             * name : 别墅
             * query : house_type=0
             * tips :
             */

            private String name;
            private String query;
            private String tips;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getQuery() {
                return query;
            }

            public void setQuery(String query) {
                this.query = query;
            }

            public String getTips() {
                return tips;
            }

            public void setTips(String tips) {
                this.tips = tips;
            }
        }

        public static class SortsEntity {
            /**
             * id :
             * name : 默认排序
             */
            private boolean isCheck;
            private String id;
            private String name;

            public boolean isCheck() {
                return isCheck;
            }

            public void setCheck(boolean check) {
                isCheck = check;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
}
